home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d12
/
v8n06.arc
/
STDPRN1.C
< prev
next >
Wrap
C/C++ Source or Header
|
1989-02-28
|
245b
|
18 lines
/* create stdprn for Turbo C
* version 1
*/
#include<stdio.h>
main()
{
FILE *stdprn;
if(!(stdprn = fopen("LPT1","wt")))
{
fprintf(stderr,"\nUnable to open stdprn");
exit(0);
}
fprintf(stdprn,"stdprn is open\f");
}